import React from 'react';
import Sun from './sun'
class Child extends React.Component {
  render() {
    console.log(this)
    return <div className=''>
      <h2>儿子组件</h2>
      <Sun {...this.props} />
    </div>;
  }
}
export default Child